<template>
	<view>
		<z-nav-bar ref="navBar" :scrollTop="scrollTop" transparentFixedFontColor="#FFF" type="transparentFixed"
			title="问答专区">
			<view class="preview" slot="center">问答专区</view>
		</z-nav-bar>


		<view class="banner-bar" :style="{ paddingTop: TopHeight + 10 + 'px'}">
			<image class="logo" src="https://jiangxinsaas.oss-cn-beijing.aliyuncs.com/tuchuang/521713084892Dq1zNS.png"
				mode=""></image>
			<view class="ban-txt">年服务人次15亿+ 为您提供专业的法律服务</view>
			<view class="dy-ask-bar">
				<view class="data">
					<view class="">
						<view class="tit">
							<span class="din-b">{{IndexData.online}}</span>
						</view>
						<view class="txt">
							当前在线律师
						</view>
					</view>
					<view class="">
						<view class="tit">
							<span class="din-b">{{IndexData.today}}</span>
						</view>
						<view class="txt">
							今日咨询数
						</view>
					</view>
					<view class="">
						<view class="tit">
							<span class="din-b">98%</span>
						</view>
						<view class="txt">
							律师好评率
						</view>
					</view>
				</view>
				<view class="ask" @click="ToUrl('/pages/index/ask')">
					<view class="swiper-container swiper-bar txt" autoplay loop data-direction="vertical">
						<view class="swiper-wrapper">
							<view class="swiper-slide">在线咨询律师</view>
						</view>
					</view>
					<span class="btn">
						一键咨询<i class="vm arrow"></i>
						<i class="light"></i>
					</span>
					<span class="lable"></span>
					<span class="ask-hand"></span>
				</view>
				<view class="special_list">
					<view class="special_item askd" @click="ToUrl('/pages/index/ask')">
						<view class="card_desc nowrap">平均3分钟获答</view>
						<view class="card_link">公开咨询</view>
					</view>
					<view class="special_item zxzx" @click="ToUrl('/pages/lawyer/index')">
						<view class="card_desc nowrap">专属律师服务</view>
						<view class="card_link">1对1咨询</view>
					</view>
					<view class="special_item citylaw">
						<view class="card_desc nowrap">全国23万律师</view>
						<view class="card_link">同城律师</view>
					</view>
				</view>

				<view class="menu_swiper">
					<view class="swiper-container">
						<view class="swiper-wrapper">
							<view class="swiper-slide">
								<view class="menu_list">
									<view class="menu_item" @click="ToUrl('/contract/index/index')">
										<image
											src="https://jiangxinsaas.oss-cn-beijing.aliyuncs.com/tuchuang/581713096298wYiBme.png"
											alt="" class="menu_img" />
										<view class="menu_link">合同范本</view>
									</view>
									<view class="menu_item" @click="ToUrl('/chat/gpt/index')">
										<image
											src="https://jiangxinsaas.oss-cn-beijing.aliyuncs.com/tuchuang/2117130963216xuRHy.png"
											alt="" class="menu_img" />
										<view class="menu_link">智能问答</view>
									</view>
									<view class="menu_item">
										<image
											src="https://jiangxinsaas.oss-cn-beijing.aliyuncs.com/tuchuang/521713096352hJLCJY.png"
											alt="" class="menu_img" />
										<view class="menu_link">法律知识</view>
									</view>
									<view class="menu_item" @click="ToUrl('/pages/lawyer/index')">
										<image
											src="https://jiangxinsaas.oss-cn-beijing.aliyuncs.com/tuchuang/131713096373WnX469.png"
											alt="" class="menu_img" />
										<view class="menu_link">在线律师</view>
									</view>
									<view class="menu_item">
										<image
											src="https://jiangxinsaas.oss-cn-beijing.aliyuncs.com/tuchuang/321713096392H2kLqj.png"
											alt="" class="menu_img" />
										<view class="menu_link">更多服务</view>
									</view>
								</view>
							</view>
						</view>
					</view>
				</view>
			</view>
		</view>
		<view class="ask_box">
			<block v-for="(item,index) in DataList" :key="index">
				<view class="qa_media_card bdb1" @click="ToUrl('/chat/ask/detail?id=' + item.id )">
					<view>
						<view class="que nowrap-n">
							{{item.title}}
						</view>
						<view class="content" v-if="item.answer">
							<view class="ans nowrap-n">
								{{item.answer}}
							</view>
							<view class="ans_msg">
								<view class="lawyer_img">
									<image :src="item.avatar" />
								</view>
								<span class="lawyer_name nowrap">{{item.real_name}} 律师</span>
								<view class="num read-number">{{item.view}}人看过</view>
							</view>
						</view>
					</view>
				</view>
			</block>
		</view>

		<view class="mian_body">
			<view class="nav-tw-tit">
				<view class="bdlr-tit"></view>
				<view class="tit ect">{{city}}</view>
				<view class="tag">
					<view class="ico-bdlr"></view>
					您身边的好律师
				</view>
			</view>
			<view>
				<block v-for="(item , index) in LocalLawyer" :key="index">
					<view class="local-lawyer-card">
						<view>
							<view class="lawyer">
								<view class="lawyer-left">
									<view class="lawyer-left-info">
										<view class="lawyer-left-info-img">
											<image :src="item.avatar" mode=""></image>
										</view>
									</view>
								</view>
								<view class="lawyer-right">
									<view class="lawyer-name">
										<view class="lawyer-name-content">
											<view class="name-text">{{item.real_name}}</view>
											<view class="position">{{item.city}}</view>
										</view>
									</view>
									<view class="lawyer-right-time-firm">
										<view class="lawyer-right-time">
											执业{{item.year}}年
										</view>
										<view class="lawyer-right-firm">
											{{item.lawoffice}}
										</view>
									</view>
									<view class="lawyer-major-area">
										擅长：{{item.like}}
									</view>
									<view class="lawyer-right-btn-position" @click="ToUrl('/pages/lawyer/info?id=' + item.id)">
										<view class="lawyer-right-btn-right">
											<view class="lawyer-right-btn-right-info">
												咨询
											</view>
										</view>
									</view>
								</view>
							</view>
						</view>
					</view>
				</block>
			</view>
		</view>


		<view class="mlr-gap3 mt-gap3" @click="ToUrl('/pages/lawyer/index')">
			<view class="capsule-consult-card">
				<view class="tit fb" style="display: flex;">问题<b>没解决？</b>试试问律师吧~</view>
				<view class="disc mt-gap">精选本地好评律师，为您提供1对1专业解答</view>
				<view class="ask mt-gap4">
					<i class="vm smails"></i>立即问律师<i class="vm arrow ml-gap"></i>
				</view>
			</view>
		</view>

		<view class="shangbiaozhuche" v-if="miniapp_audit != 1">
			<button class="viewbox" @click="ToUrl('/chat/ask/add')">
				<image src="https://jiangxinsaas.oss-cn-beijing.aliyuncs.com/tuchuang/44171485272492J4V8.png" mode=""></image>
			</button>
		</view>


		<view style="height: 40px;"></view>

	</view>
</template>

<script>
	import $H from '@/common/js/request.js';

	export default {
		data() {
			return {
				scrollTop: 0,
				TopHeight: uni.getStorageSync('TopHeight'),
				status: 0,
				pages: 1,
				limit: 15,
				page: 0,
				out: 0,
				DataList: [],
				LocalLawyer: [],
				IndexData: {},
				city: uni.getStorageSync('city'),
				miniapp_audit: uni.getStorageSync('miniapp_audit'),
			}
		},
		onPageScroll(e) {
			this.scrollTop = e.scrollTop;
		},
		onReachBottom() {
			this.GetData();
		},
		onLoad() {
			this.timeer();
			this.GetLocalLawyer();
			this.GetIndexData();
		},
		methods: {
			ToUrl(url) {
				uni.navigateTo({
					url: url
				})
			},
			timeer() {
				this.DataList = [];
				this.isLoading = false;
				this.scroll = false;
				this.status = 0;
				this.pages = 1;
				this.page = 0;
				this.out = 0;
				this.GetData();
			},
			GetData(e) {
				if (this.isLoading) {
					return;
				}
				if (this.page < this.pages) {
					this.out = 0;
					this.isLoading = true;
					this.scroll = false;
					this.status = 1;
					this.limit = 15;
					var page = this.page + 1;
					$H.post('index/ask', {
						'page': page,
						'limit': this.limit,
					}, {
						token: true
					}).then(res => {
						if (res.code == 1) {
							var list = res.data.data;
							for (let i = 0; i < list.length; i++) {
								//将数据逐条写入数组
								this.DataList.push(list[i]);
							}
							this.pages = res.data.last_page;
							this.page = page;
							this.scroll = true;
							this.isLoading = false;
							setTimeout(() => {
								this.ShowLoading = false
							}, 1000);

							this.out = 1;
							if (this.page == this.pages || res.data.total == 0) {
								this.status = 2;
							} else {
								this.status = 0;
							}
						} else {
							uni.showToast({
								title: res.msg,
								icon: 'none',
								duration: 2000
							});
						}
					})
				}
			},
			async GetLocalLawyer() {
				this.limit = 15;
				var page = this.page + 1;
				try {
					const res = await $H.post('index/locallawyer', {
						'page': page,
						'limit': this.limit,
						'city': this.city
					}, {
						token: true
					});
					var list = res.data.data;
					for (let i = 0; i < list.length; i++) {
						//将数据逐条写入数组
						this.LocalLawyer.push(list[i]);
					}
				} catch (error) {
					console.error('Error fetching IndexData:', error);
				} finally {
					uni.hideLoading();
				}
			},
			async GetIndexData() {
				try {
					const res = await $H.post('index/askindex', {
					}, {
						token: true
					});
					this.IndexData = res.data
				} catch (error) {
					console.error('Error fetching IndexData:', error);
				} finally {
					uni.hideLoading();
				}
			},
		}
	}
</script>

<style>
	page {
		background: #f7f8fa;
	}
</style>
<style lang="scss" scoped>
	.banner-bar {
		position: relative;
		z-index: 1;
		min-height: 414px;
		// margin-top: -2.2rem;
		background: url('https://jiangxinsaas.oss-cn-beijing.aliyuncs.com/tuchuang/551713084715GY6Swa.png') no-repeat;
		background-size: 100% auto;

		.logo {
			width: 153px;
			height: 31px;
			display: block;
			margin: auto;
		}

		.ban-txt {
			margin-top: 10px;
			text-align: center;
			font-size: 16px;
			line-height: 20px;
			color: #fff;
		}

		.dy-ask-bar {
			position: relative;
			margin-top: 1rem;
			background-color: #fff;
			border-radius: 8px;
			box-shadow: 0 0.2rem 1rem 0 rgba(0, 0, 0, 0.08);
			padding: .8rem 0;
			padding-bottom: 0px;
			margin: 10px;

			.data {
				display: flex;
				text-align: center;

				view {
					flex: auto;
					position: relative;
				}

				view:before {
					content: '';
					position: absolute;
					top: 50%;
					right: 0;
					width: .05rem;
					height: 1.6rem;
					background-color: #F0F2F5;
					margin-top: -0.8rem;
				}
			}

			.ask {
				position: relative;
				margin: 1rem 1rem 0;
				border: .1rem solid #F5DBCE;
				border-radius: 1.2rem;
				background-color: #FCF9F5;
				height: 2.4rem;
				display: block;
			}


		}
	}

	.dy-ask-bar .data .tit {
		font-size: 22px;
		font-weight: bold;
		height: 30px;
		line-height: 30px;
	}

	.dy-ask-bar .data .txt {
		font-size: 14px;
		line-height: 20px;
		margin-top: 5px;
		color: #414A5D;
		font-weight: 400;
	}

	.swiper-container>.swiper-wrapper {
		-webkit-transition-timing-function: linear;
		-moz-transition-timing-function: linear;
		-ms-transition-timing-function: linear;
		-o-transition-timing-function: linear;
		transition-timing-function: linear;
		margin: 0 auto
	}

	.dy-ask-bar .ask {
		position: relative;
		margin: 1rem 1rem 0;
		border: .1rem solid #F5DBCE;
		border-radius: 1.2rem;
		background-color: #FCF9F5;
		height: 2.4rem;
		display: block;
	}

	.dy-ask-bar .ask .txt {
		padding-left: .9rem;
		margin-top: .4rem;
		line-height: 1.4rem;
		font-size: .8rem;
		color: #BDB2AA;
		height: 1.4rem;
	}

	.dy-ask-bar .ask .btn {
		position: absolute;
		top: -.1rem;
		right: -.1rem;
		width: 7.45rem;
		height: 2.4rem;
		line-height: 2.4rem;
		text-align: center;
		background: url('https://jiangxinsaas.oss-cn-beijing.aliyuncs.com/tuchuang/201713086240Tup3rB.png') no-repeat;
		background-size: 100% 100%;
		font-size: 1rem;
		color: #fff;
		font-weight: bold;
	}

	.dy-ask-bar .ask .btn .arrow {
		width: .8rem;
		height: .8rem;
		margin-left: .1rem;
		background: url('https://jiangxinsaas.oss-cn-beijing.aliyuncs.com/tuchuang/471713086327Ns56Ih.png') no-repeat;
		background-size: 100% 100%;
	}

	.dy-ask-bar .ask .btn .light {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		height: 2.4rem;
		overflow: hidden;
		-webkit-backface-visibility: hidden;
		-moz-backface-visibility: hidden;
		-webkit-transform: translate3d(0, 0, 0);
		-moz-transform: translate3d(0, 0, 0);
		border-radius: 1.2rem;
	}

	.dy-ask-bar .ask .btn .light:before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 5.2rem;
		height: 2.6rem;
		background: url('https://jiangxinsaas.oss-cn-beijing.aliyuncs.com/tuchuang/211713086361OPWwKm.png') no-repeat;
		background-size: 100% 100%;
		transform: translateX(-100%);
		animation: asktoRight1 3s ease infinite;
		opacity: .6;
	}

	@keyframes asktoRight1 {
		0% {
			-webkit-transform: translateX(-100%);
			transform: translateX(-100%);
		}

		50% {
			-webkit-transform: translateX(12.65rem);
			transform: translateX(12.65rem);
		}

		100% {
			-webkit-transform: translateX(12.65rem);
			transform: translateX(12.65rem);
		}
	}

	.dy-ask-bar .ask .lable {
		position: absolute;
		top: -0.8rem;
		right: -.1rem;
		width: 4.55rem;
		height: 1rem;
		background: url('https://jiangxinsaas.oss-cn-beijing.aliyuncs.com/tuchuang/231713086303uEbvAK.png') no-repeat;
		background-size: 100% 100%;
	}

	.dy-ask-bar .ask .ask-hand {
		position: absolute;
		right: -0.6rem;
		bottom: -0.8rem;
		transform: scale(.9, .9);
		width: 2rem;
		height: 2.55rem;
		background-image: url('https://jiangxinsaas.oss-cn-beijing.aliyuncs.com/tuchuang/031713086283e7CHxu.png');
		background-size: 70rem 2.55rem;
		animation: artaskhand .5s steps(1) 0s infinite normal none;
	}

	.swiper-container {
		margin-left: auto;
		margin-right: auto;
		position: relative;
		overflow: hidden;
		list-style: none;
		padding: 0;
		z-index: 1
	}

	.swiper-container-vertical>.swiper-wrapper {
		flex-direction: column
	}

	.swiper-wrapper {
		position: relative;
		width: 100%;
		height: 100%;
		z-index: 1;
		display: flex;
		transition-property: transform;
		box-sizing: content-box
	}


	.swiper-slide {
		flex-shrink: 0;
		width: 100%;
		height: 100%;
		position: relative;
		transition-property: transform
	}

	.special_list {
		display: flex;
		padding: 0 15px;
		justify-content: space-between;
		align-items: center;
		margin-top: 20px;
		margin-bottom: 10px;

		.special_item {
			height: 80px;
			width: 107px;
			position: relative;
			border-radius: 8px
		}

		.askd {
			background: url('https://jiangxinsaas.oss-cn-beijing.aliyuncs.com/tuchuang/091713087129QvucPp.png') center/cover no-repeat
		}

		.zxzx {
			background: url('https://jiangxinsaas.oss-cn-beijing.aliyuncs.com/tuchuang/301713087150WKoPbP.png') center/cover no-repeat
		}

		.citylaw {
			background: url('https://jiangxinsaas.oss-cn-beijing.aliyuncs.com/tuchuang/551713087175ZfAkzm.png') center/cover no-repeat
		}

		.nowrap {
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}

	}

	.card_desc {
		font-size: 12px;
		font-weight: 400;
		color: #999;
		padding: 32px 0 0 10px;
	}

	.card_link {
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		box-sizing: border-box;
		padding: 10px 0 0 10px;
		font-size: 16px;
		font-weight: 500;
		color: #111;
	}

	.menu_swiper {
		margin-top: 5px;
	}

	.menu_list {
		display: flex;
	}

	.menu_item {
		height: 65px;
		width: 20%;
		background-repeat: no-repeat;
		background-size: 35px;
		background-position: center top;
		position: relative;
	}

	.menu_img {
		width: 35px;
		height: 35px;
		margin: 0 auto;
		display: block;
		-o-object-fit: cover;
		object-fit: cover;
	}

	.menu_link {
		font-size: 12px;
		font-weight: 400;
		color: #111;
		text-align: center;
		margin-top: 5px;
	}

	.ask_box {
		padding: 10px;
		margin: 10px;
		background: #fff;
		box-shadow: 0 0.16rem 0.48rem 0 rgba(51, 51, 63, .03);
		border-radius: 8px;
	}

	.bdb1,
	.bdt1,
	.bdl1,
	.bdr1 {
		position: relative;
		border-bottom: 1px solid #d8d8d8;
	}

	.qa_media_card {
		padding: 20px 0 20px;
		margin: 0 10px;
	}

	.qa_media_card .que {
		padding-left: 40px;
		font-size: 16px;
		font-weight: 600;
		line-height: 20px;
		color: #111;
		background: url('https://jiangxinsaas.oss-cn-beijing.aliyuncs.com/tuchuang/2017130888200IBHqZ.png') left 5px top 0px no-repeat;
		background-size: 20px 20px;
		margin-bottom: 15px
	}

	.nowrap-n {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		overflow: hidden;
		-webkit-line-clamp: 2;
	}



	.qa_media_card .content {
		border-radius: 8px;
		background: #f5f6f8;
		padding: 15px 0 10px
	}

	.qa_media_card .ans {
		padding-left: 40px;
		font-size: 16px;
		font-weight: 400;
		line-height: 20px;
		color: #666;
		background: url('https://jiangxinsaas.oss-cn-beijing.aliyuncs.com/tuchuang/301713089490NRNG6v.png') left 5px top 0px no-repeat;
		background-size: 20px 20px;
		margin-bottom: 15px
	}

	.qa_media_card .ans_msg {
		display: flex;
		align-items: center;
		// padding: 0 15px 0 10px
	}

	.qa_media_card .lawyer_img {
		width: 20px;
		height: 20px;
		border-radius: 50%;
		margin-right: 10px;
		margin-left: 5px;

		image {
			width: 20px;
			height: 20px;
			border-radius: 50%;
		}
	}

	.qa_media_card .lawyer_name {
		flex: 1;
		overflow: hidden;
		font-size: 14px;
		font-weight: 400;
		color: #111;
		height: 16px;
		line-height: 16px;
	}

	.qa_media_card .num {
		font-size: 12px;
		font-weight: 400;
		color: #999;
		height: 16px;
		line-height: 16px;
		margin-right: 5px;
	}

	[class^="ico-"],
	.vm {
		display: inline-block;
		vertical-align: middle;
		margin-top: -0.1rem
	}


	.mlr-gap3 {
		margin-right: 10px;
		margin-left: 10px;
	}

	.mt-gap3 {
		margin-top: 10px;
	}

	.capsule-consult-card {
		padding: 17px 13px 0 13px;
		display: block;
		height: 132px;
		background: url('https://jiangxinsaas.oss-cn-beijing.aliyuncs.com/tuchuang/0017131125608ARsV5.png') center center #fff no-repeat;
		background-size: 100% 100%;
		border-radius: 8px;
		overflow: hidden;
		border: 2px solid #fff;
	}

	.capsule-consult-card .tit {
		font-size: 18px;
		line-height: 22px;
	}

	.capsule-consult-card .tit b {
		color: #DB642A;
	}

	.fb {
		font-weight: 700;
	}

	.capsule-consult-card .disc {
		font-size: 12px;
		line-height: 25px;
		color: #676F85;
	}

	.capsule-consult-card .ask {
		display: inline-block;
		padding: 0 15px 0 15px;
		height: 22px;
		line-height: 22px;
		background-color: #0EB298;
		border-radius: 10px;
		font-size: 12px;
		color: #fff;
		font-weight: bold;
	}

	.mt-gap4 {
		margin-top: 10px;
	}

	.mian_body {
		margin: 10px;
		padding-bottom: 10px;
		border-radius: 10px;
		background: #fff;

		.nav-tw-tit {
			height: 2.8rem;
			padding: 1rem .6rem;
			line-height: .9rem;
			background: url('https://jiangxinsaas.oss-cn-beijing.aliyuncs.com/tuchuang/181713067398MiK41a.png') no-repeat;
			background-size: 100% auto;

			.bdlr-tit {
				float: left;
				width: 4.85rem;
				height: .8rem;
				margin: 0 .3rem 0 0;
				background: url('https://jiangxinsaas.oss-cn-beijing.aliyuncs.com/tuchuang/291713067469KmlR8Y.png') no-repeat;
				background-size: 100% auto;
			}

			.tit {
				float: left;
				margin-right: .4rem;
				max-width: 4.8rem;
			}

			.ect {
				text-overflow: ellipsis;
				overflow: hidden;
				white-space: nowrap;
			}

			.tag {
				float: left;
				padding: 0 .4rem;
				height: .9rem;
				line-height: .9rem;
				background: linear-gradient(270deg, #EDF3FC 0%, #EDF3FC 100%);
				border-radius: .55rem;
				font-size: .6rem;
				color: #868EA3;

				.ico-bdlr {
					float: left;
					width: .7rem;
					height: .7rem;
					margin: .1rem .1rem 0 0;
					background: url('https://jiangxinsaas.oss-cn-beijing.aliyuncs.com/tuchuang/291713067649hTtwVx.png') no-repeat;
					background-size: cover;
				}
			}
		}
	}

	.lawyer {
		display: flex;
		padding: 16px 13px 10px;
		border-radius: 12px;
		background: #fff;
		position: relative;
		font-family: PingFangSC-Regular;
		margin-top: 9px;
	}

	.lawyer .lawyer-left {
		margin-right: 10px;
	}

	.lawyer .lawyer-left .lawyer-left-info {
		width: 52px;
		height: 52px;
		position: relative;

		image {
			width: 52px;
			height: 52px;
			border-radius: 50%;
		}
	}

	.lawyer .lawyer-right {
		flex: 1;
		min-width: 0;
	}

	.lawyer-name {
		width: 100%;
		font-family: PingFangSC-Regular;
		font-size: 14px;
		font-weight: 700;
		color: #666;
		margin-right: 6px;
		margin-bottom: 7px;
	}

	.lawyer-name .lawyer-name-content {
		color: #1e1f24;
		font-size: 17px;
		font-weight: 700;
		display: flex;
		align-items: center;
	}

	.lawyer-name .name-text {
		line-height: 1;
	}

	.lawyer .lawyer-right .lawyer-right-time-firm {
		width: calc(100% - 19.46vw);
		font-size: 14px;
		line-height: 15px;
		color: #50525c;
		display: flex;
		margin-top: 7px;
		white-space: nowrap;
		min-width: 0;
	}

	.lawyer .lawyer-right .lawyer-right-time-firm .lawyer-right-time {
		margin-right: 8px;
		flex-shrink: 0;
	}

	.lawyer .lawyer-right .lawyer-right-time-firm .lawyer-right-firm {
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		font-size: 14px;
		line-height: 15px;
		color: #50525c;
	}

	.lawyer .lawyer-right .lawyer-major-area {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		color: #50525c;
		margin-top: 8px;
		font-size: 14px;
		line-height: 1;
		width: calc(100% - 19.46vw);
	}

	.lawyer .lawyer-right .lawyer-right-btn-position {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		position: absolute;
		top: 52%;
		right: 13px;
		transform: translateY(-50%);
	}

	.lawyer-name .position {
		display: inline-flex;
		height: 16px;
		padding: 0 4px;
		justify-content: center;
		align-items: center;
		border-radius: 4px;
		border: 1px solid rgba(0, 85, 255, .4);
		box-sizing: border-box;
		color: #05f;
		font-size: 11px;
		margin-left: 6px;
	}

	.lawyer .lawyer-right .lawyer-right-btn-position .lawyer-right-btn-right {
		display: flex;
		font-size: 13px;
		background: rgba(0, 85, 255, .1);
		width: 68px;
		height: 30px;
		border-radius: 15px;
		align-items: center;
		justify-content: center;
		position: relative;
	}

	.lawyer .lawyer-right .lawyer-right-btn-position .lawyer-right-btn-right .lawyer-right-btn-right-info {
		font-family: PingFangSC-Medium;
		color: #05f;
		font-size: 14px;
		font-weight: 500;
	}
	
	.shangbiaozhuche {
		width: 70px;
		height: 80px;
		right: 15px;
		bottom: 100px;
		position: fixed;
		z-index: 999;
	}
	
	.viewbox image {
		width: 50px;
		height: 50px;
	}
	
	
	button {
		border: 0;
		background-color: transparent;
		outline: none;
		line-height: normal;
		margin: 0;
		padding: 0;
	}
	
	button::after {
		border: none;
		width: 0;
		height: 0;
	}
	
</style>